package jiekou;

//public class Daughter implements Mother {
//    @Override
//    public void sing() {
//        System.out.println("我是女儿，我唱歌");
//    }
    public class Daughter implements Father {//继承一个父类实现一个implements接口
    @Override//重写接口方法
    public void playFootball() {
        System.out.println("我是儿子，我踢球");
    }
}

